<div class="content4 content41 page" data-page="applyMain2" id="applyMain2">
	<p class="location">
		当前位置:
		<label class="locationInfo">业务申请 >  代采业务申请</label>
	</p>
	<div class="dataContent">
		<div class="container page" id="apply_main2">
			<div id="content2" class="w1000 financeApplicationContent2" nocode="true" action="proxyCreateFinanceApplication" version="v1.0">
				<input name="fingerTrunkAccountId" type="hidden" />
				<div class="label_info2">
					<img src="../../../res/png/dollar_icon.png" />客户信息
				</div>
				<div class="applyDataLine">
					<div class="requireInput">
					融资客户：<input id="applyEnterpriseName" class="applyEnterpriseName" type="text" placeholder="请选择融资客户" isNUll="1"/>
							<input id="enterpriseId" name="enterpriseId" type="hidden" value=""/>
					</div>
					<div></div>
				</div>
				<div class="label_info2">
					<input type="hidden" name="financeId" id="financeId"/>
					<input type="hidden" name="productType" value="5"/>
					<input type="hidden" name="financeType" value="1"/>
					<img src="../../../res/png/info_icon.png" /><span class="labeltitle">商品信息</span>
				</div>
				<div class="applyDataLine">
					<div class="requireInput">
						<input type="hidden" name="bulkstockCategory" id="commodityCategoryHidden2" codeName="货物类别" isNUll="1"/>
						<span class="bulkstockCategory">货物类别</span>:
						<select id="commodityCategory2" name="bulkstockCategoryId" codeName="货物类别" isNUll="1">
							<option value=" ">请选择货物类别</option>
						</select>
					</div>
					<div></div>
					<div class="bulkstockMaterial2 none">该类货物融资时需要:<span id="bulkstockMaterial2"></span></div>
				</div>
				<script type="text/template" id="commodityCategoryTpl">
					<option value=" ">请选择货物类别</option>
					{@each datas as it}
					<option value="${it.bulkstockCategoryId}" txt="${it.categoryName}">${it.categoryName}</td>
					{@/each}
				</script>
				<div class="clear"></div>
				<div id="goods1" bulkstockIds1="" class="goods">
					<input type="hidden" name="bulkstockIds" class="bulkstockIds"/>
					<div class="label"><span class="labelName">货物1</span>
						<div class="line1"></div>
					</div>
					<div class="applyDataLine">
						<div class="requireInput">
							<span class="bulkstockName">货物名称</span>:
							<input type="hidden" value="2" class="measurement"  name="measurement"/>
							<input type="hidden" class="conversionFactor" name="conversionFactor"/>
							<input type="hidden" name="weights"/>
							<input type="hidden" name="volumes"/>
							<input name="bulkstockNames" type="hidden" class="bulkstockNames" codeName="货物名称" isNUll="1"/>
							<select codeName="货物名称" isNUll="1" class="commodityNames2" name="bulkstockInfoIds">
								<option value="">请选择货物名称</option>
							</select>
						</div>
						<div class="requireInput">
							产地:<select class="originPlaces2" id="originPlaces2" name="originPlaces" codeName="产地" isNUll="1"></select>
							<select name="originPlaces1" class="none"></select>
						</div>
					</div>
					<div class="applyDataLine">
						<div class="requireInput">
							商品包装:<select name="packingMethod">
								<option value="有包装" selected="true">有包装</option>
								<option value="散装">散装</option>
							</select>
						</div>
						<div class="requireInput">
							货物等级:<select name="bulkstockGrade">
								<option value="国家一等" selected="true">国家一等</option>
								<option value="国家二等">国家二等</option>
							</select>
						</div>
					</div>
					<div class="applyDataLine">
						<div class="requireInput">
							数量:<input style="width: 134px;" class="n quantitys2" name="quantitys" type="text" codeName="数量" isNUll="1" maxlength="11" placeholder="请输入数量"  />
							单位:<select class="u units" style="width: 109px;" name="units">
									<option value="吨">吨</option>
									<option value="千克">千克</option>
									<option value="袋">袋</option>
									<option value="盒">盒</option>
									<option value="箱">箱</option>
									<option value="立方米">立方米</option>
									<option value="米">米</option>
								</select>
						</div>
						<div class="requireInput">
							供应商:<select style="width: 275px;" class="receive" name="receive" codeName="供应商" isNUll="1"></select> <a class="addSupplier" href="javascript:void(0);">新增</a>
						</div>
					</div>
					<div class="applyDataLine">
						<span style="position: relative;">备注:<textarea class="cargoMark" name="cargoMark" maxlength="128"></textarea></span>
					</div>
				</div>
				<div class="clear"></div>
				<div class="label_info2">
					<img src="../../../res/png/dollar_icon.png" />金融信息
				</div>
				<div class="creditLineDom">
					<div class="creditLineCenter">
						<div class="creditLineDiv">
							<div>
								<span class="data" name="creditLine"></span><br />
								<span>授信额度(万元)</span>
							</div>
						</div>
						<div class="creditLineDiv">
							<div>
								<span class="data" name="creditAlready"></span><br />
								<span>已用额度(万元)</span>
							</div>
						</div>
						<div class="creditLineDiv">
							<div>
								<span class="data" name="creditLineRemains"></span><br />
								<span>剩余额度(万元)</span>
							</div>
						</div>
					</div>
					<div class="applyDataLine">
						<div class="requireInput">
							货物单价(含税):<input num="1" name="bulkstockPrice" type="text" placeholder="请输入货物单价" isNUll="1" codeName="货物单价"/>
						</div>
						<div>
							货物报价总值:<input name="valuation" readonly="readonly" type="text" placeholder="系统自动算出"/>
						</div>
					</div>
					<div class="applyDataLine">
						<div class="requireInput">
							保证金比例:<select name="bailRate" isNUll="1" codeName="保证金比例" codeName="保证金比例">
											<option>请选择</option>
										</select>
						</div>
						<div>
							申请出账金额:<input name="applicationAmount" id="applicationAmount2" readonly="readonly" type="text" placeholder="系统自动算出"/>
						</div>
					</div>
					<div class="applyDataLine">
						<div class="requireInput">
							申请用款期限:<select name="loanTimeLimit"><option value="30">30天</option><option value="60">60天</option><option value="90">90天</option><option value="180">180天</option></select>
						</div>
						<div>
						</div>
					</div>
				</div>
				<div class="label_info2">
					<img src="../../../res/png/dollar_icon.png" />物流信息
				</div>
				<div class="applyDataLine">
					<div class="requireInput">
						交货时间:<input name="deliveryDate" type="text" readonly="readonly" onfocus="WdatePicker({})"  placeholder="请选择交货时间" isNUll="1" codeName="交货时间"/>
					</div>
					<div class="requireInput">
						交货地点:<input name="deliveryAddress" type="text" placeholder="请输入交货地点" isNUll="1" codeName="交货地点"/>
					</div>
				</div>
				<div class="applyDataLine">
					<div class="requireInput">
						运费承担:<input type="text" name="transportExpenseBear" value="客户自行承担" readonly="true"/>
					</div>
					<div>
					</div>
				</div>
				<div>
					<p class="label_info4">
						<img src="../../../res/png/info_icon.png" />上传证明材料<span class="span1">（根据货物类型不同，所需的证明材料不同，由后台配置）</span><span class="span2">提示：以下上传的附件仅支持jpg/jpeg/png/bmp图片或doc/xls/docx/pdf等文件</span>
					</p>
					<div class="clear"></div>
					<div id="approveBody"></div>
					<script type="text/template" id="approveTpl">
						{@each datas as it}
							{@each it.templates as item,index}
								<div class="materiaData" templateName="${item.templateName}" templateId="${item.templateId}" commodityCategoryId="${it.bulkstockCategoryId}">
								<p class="label">
									{@if item.checkedRequired===1}
									<span class="star1 uploadMust">*</span>
									{@else}
									<span class="star1">&nbsp;&nbsp;</span>
									{@/if}
									${item.templateName}<span class="span1"></span></p>
								<div class="approve">
									<input id="material${index}" name="file" type="file" accept=".jpg,.jpeg,.png,.bmp,.doc,.xls,.xlsx,.docx,.pdf"/><img src="../../../res/png/addfile2.png">
								</div>
							</div>
							<div class="clear"></div>
							{@/each}
						{@/each}
					</script>
				</div>
				<div class="clear"></div>
				<p class="line" style="margin-top: 15px;"></p>
				<a class="button_next" id="apply_main_next2">提交</a>
				<div class="error_info">请将信息填写完整！</div>
			</div>
		</div>
	</div>
</div>